package com.siccr.home.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

public class PageController implements Controller {
	
	private final Logger log = Logger.getLogger(PageController.class);
	
	public ModelAndView handleRequest(HttpServletRequest arg0, HttpServletResponse arg1) throws Exception {
		
		log.debug
		(
				"\n info page " + arg0.getPathInfo() +
				"\n traslated page " + arg0.getPathTranslated() +
				"\n traslated page " + arg0.getRequestURL()
				
		);
		
		//String viewName="home";//arg0.getContextPath();
		
		return new ModelAndView();
	}

}
